import request from '@/utils/request'

// 查询零件列表
export function list(query) {
  return request({
    url: '/buy/buy0011/list',
    method: 'get',
    params: query
  })
}

export function getOprInfo(query) {
  return request({
    url: '/buy/buy0011/getOprInfo',
    method: 'get',
    params: query
  })
}

export function save(data) {
  return request({
    url: '/buy/buy0011/save',
    method: 'post',
    data: data
  })
}
